package org.msn.config;

import io.netty.channel.ChannelHandlerContext;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
/**
 * 房间模型
 */
public class RoomInfo {
    private String name;
    private Integer number;

    /**
     * 记录房间的人
     */
    private Map<ChannelHandlerContext, String> map;
}
